package boot.spring.entity;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public class Users {
    private String uid;
    private String uloginname;
    private String upassword;
    private String uname;
    private String did;
    private String iflock;
    private String lastlogintime;
    private String accountbegintime;
    private Integer errorcount;
    private String locktime;
    private String pawresettime;
    private String email;
    private String phone;
    private String weight;
    private Integer results;
    private List<Role> rList;
    private Department department;

    public Users() {
    }

    public Users(String uid, String uloginname, String upassword, String uname, String did, String iflock, String lastlogintime, String accountbegintime, Integer errorcount, String locktime, String pawresettime, String email, String phone, String weight, Integer results, List<Role> rList, Department department) {
        this.uid = uid;
        this.uloginname = uloginname;
        this.upassword = upassword;
        this.uname = uname;
        this.did = did;
        this.iflock = iflock;
        this.lastlogintime = lastlogintime;
        this.accountbegintime = accountbegintime;
        this.errorcount = errorcount;
        this.locktime = locktime;
        this.pawresettime = pawresettime;
        this.email = email;
        this.phone = phone;
        this.weight = weight;
        this.results = results;
        this.rList = rList;
        this.department = department;
    }

    public Users(String uid, String iflock, Integer errorcount, String locktime, String pawresettime) {
        this.uid = uid;
        this.iflock = iflock;
        this.errorcount = errorcount;
        this.locktime = locktime;
        this.pawresettime = pawresettime;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUloginname() {
        return uloginname;
    }

    public void setUloginname(String uloginname) {
        this.uloginname = uloginname;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getIflock() {
        return iflock;
    }

    public void setIflock(String iflock) {
        this.iflock = iflock;
    }

    public String getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(String lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    public String getAccountbegintime() {
        return accountbegintime;
    }

    public void setAccountbegintime(String accountbegintime) {
        this.accountbegintime = accountbegintime;
    }

    public Integer getErrorcount() {
        return errorcount;
    }

    public void setErrorcount(Integer errorcount) {
        this.errorcount = errorcount;
    }

    public String getLocktime() {
        return locktime;
    }

    public void setLocktime(String locktime) {
        this.locktime = locktime;
    }

    public String getPawresettime() {
        return pawresettime;
    }

    public void setPawresettime(String pawresettime) {
        this.pawresettime = pawresettime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public Integer getResults() {
        return results;
    }

    public void setResults(Integer results) {
        this.results = results;
    }

    public List<Role> getrList() {
        return rList;
    }

    public void setrList(List<Role> rList) {
        this.rList = rList;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }
}
